//
//  JPRequest.h
//  GrainAndOil
//
//  Created by xiangming on 14-7-9.
//  Copyright (c) 2014年 JunePartner. All rights reserved.
//

#import <Foundation/Foundation.h>

#import "BYRequest.h"
#import "BYResponse.h"

@interface Request : BYRequest


@property (nonatomic, strong) NSString *prefix;             //接口前缀
@property (nonatomic, strong) NSString *suffix;             //接口后缀
@property (nonatomic, strong) NSString *httpMethod;         //请求方法
@property (nonatomic, strong) NSMutableDictionary *params;  //请求参数
@property (nonatomic, assign) BOOL useParamDic;             //是否传入字典


//初始化网络请求和设置参数
- (id)initWithParamDic:(NSMutableDictionary *)paramDic
          andApiPrefix:(NSString *)prefix
          andApiSuffix:(NSString *)suffix
         andHttpMethod:(NSString *)httpMethod
       andRequestCache:(BOOL)requestCache
       andUseParamDic:(BOOL)useParamDic;




@end
